package com.lnsf.bookstore.web.shop.service.impl;

import com.lnsf.bookstore.web.chapter.dao.ApiChapterMapper;
import com.lnsf.bookstore.web.chapter.vo.ApiChapter;
import com.lnsf.bookstore.web.shop.dao.ApiShopMapper;
import com.lnsf.bookstore.web.shop.service.ApiShopService;
import com.lnsf.bookstore.web.shop.vo.ApiShop;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class ApiShopServiceImpl implements ApiShopService {

    @Autowired
    private ApiShopMapper apiShopMapper;

    @Override
    public List<ApiShop> queryList(Map<String, Object> map) {
        return apiShopMapper.queryList(map);
    }

    @Override
    public ApiShop queryObject(Map<String, Object> map) {
        return apiShopMapper.queryObject(map);
    }
}
